If I do curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6 and then run pip install pipenv on Ubuntu 16.04 LTS I get the following PermissionError Installing collected packages: pyflakes, mccabe, pycodestyle, flake8, certifi, urllib3, chardet, idn